package xiaoming;

public class java_chapter5_jiandati_3 {

	public static void main(String[] args) {
		int i=1;
		int sum=0;
		do {
			if(i%7==0) {
				sum+=i;
			}
			i++;
		} while(i<=50);
		System.out.println(sum);

	}

}
